package com.smedi.ismedi.progress.core.application.query.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 特种设备详情
 *
 * @author xienannan
 * @date 2021/08/28
 */
@Data
@Accessors(chain = true)
public class EquipmentQueryVo implements Serializable {
    @ApiModelProperty(value = "特种设备Id")
    private Long id;

    @ApiModelProperty(value = "项目id")
    private Long projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "设备名称")
    private String equipmentName;

    @ApiModelProperty(value = "设备类型")
    private String equipmentType;

    @ApiModelProperty(value = "设备型号")
    private String equipmentModel;

    @ApiModelProperty(value = "固定资产编号")
    private String fixedAssetNumber;

    @ApiModelProperty(value = "设备状态 [-1:离场] [0:未进场] [1:在场]")
    private String equipmentStatus;

    @ApiModelProperty(value = "所属单位id")
    private Long affiliationId;

    @ApiModelProperty(value = "所属单位")
    private String affiliation;

    @ApiModelProperty(value = "负责人")
    private String principal;

    @ApiModelProperty(value = "预计进场日期")
    private LocalDateTime estimatedDateEntry;

    @ApiModelProperty(value = "预计退场日期")
    private LocalDateTime estimatedDateExit;

    @ApiModelProperty(value = "条件搜索下的所有数据id，用于导出所有的excel使用")
    private List<Long> equipmentIds;

    private Long createdUserId;
}
